#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	char s1[100] = { 0 }, s2[50] = { 0 };
	int index1 = 0, index2 = 0;
	gets(s1);
	gets(s2);
	while (s1[index1++] = s2[index2++]);
	printf("%s\n", s1);
	return 0;
}